package com.zhkj.txg.module.home.entity

import com.chad.library.adapter.base.entity.node.BaseNode
import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class SearchProductResponse(
    val data: MutableList<SearchProductEntity> = mutableListOf()
) : BaseResponse() {
    var hasMore = true
    var loadMore = false
}

data class SearchProductEntity(
    val id: Int,
    @SerializedName("goods_name")
    val goodsName: String = "",
    val image: String = "",
    val price: String = "",
//    @SerializedName("market_price")
//    val marketPrice: String = "",
//    @SerializedName("is_new")
//    val isNew: String? = null,
//    @SerializedName("share_earn")
//    val shareEarn: String? = "",
//    @SerializedName("share_switch")
//    val shareSwitch: Int? = null,
//    @SerializedName("share_content")
//    val shareContent: String? = "",
//    @SerializedName("share_images")
//    val shareImages: MutableList<String>? = null,
//    @SerializedName("shop_id")
//    val shopId: Int,
//    @SerializedName("shop_name")
//    val shopName: String = "",
//    @SerializedName("share_url")
//    val shareUrl: String = "",
    @SerializedName("sales_sum")
    val saleCount: Int = 0,
    @SerializedName("is_recommend")
    val isRecommend: String = "",
    @SerializedName("shop_count")
    val shopCount: Int = 0,
//            plus_price	string	钻石会员价格
//            active_price	string	活动价
//            discount	string	优惠
    @SerializedName("plus_price")
    val plusPrice: String = "",
    @SerializedName("active_price")
    val activePrice: String = "",
    @SerializedName("discount")
    val discount: String = "",
    override val childNode: MutableList<BaseNode>? = null
) : BaseNode()